package com.bnz.service;

import com.bnz.pojo.PageResult;
import com.bnz.pojo.Student;
import com.bnz.pojo.StudentVo;

import java.io.IOException;
import java.util.List;

public interface StudentService {


    List<Student> findAll() throws IOException;

    PageResult<Student> findByPage(int page, int pageSize) throws IOException;

    PageResult<Student> search(int page, int pageSize, StudentVo studentVo) throws IOException;

    void add(Student student) throws IOException;

    void updateById(Student student) throws IOException;

    void delete(List<String> sids) throws IOException;
}
